<div class="<?php echo $include_file;?>">
	<table border="1" width="1020">
		<tr>
			<th>条形码</th>
			<th>姓名</th>
			<th>性别</th>
			<th>职业</th>
			<th>生日</th>
			<th>身份证</th>
			<th>电话</th>
			<th>邮件</th>
			<th>创建时间</th>
			<th>操作员</th>
			<th>读者类型</th>
			<th>可借数量</th>
			<th>修改</th>
			<th>删除</th>
		</tr>
		<?php foreach($allreaders as $reader):?>
		<tr>
			<td><?php echo $reader['barcode']?></td>
			<td><?php echo $reader['name']?></td>
			<td><?php echo $reader['sex']?></td>
			<td><?php echo $reader['vocation']?></td>
			<td><?php echo $reader['birthday']?></td>
			<td><?php echo $reader['paperNO']?></td>
			<td><?php echo $reader['tel']?></td>
			<td><?php echo $reader['email']?></td>
			<td><?php echo $reader['createDate']?></td>
			<td><?php echo $reader['operator']?></td>
			<td><?php echo $reader['typename']?></td>
			<td><?php echo $reader['number']?></td>
			<td><a href="index.php?c=reader&a=edit&id=<?php echo $reader['id']?>">修改</a></td>
			<td><a href="index.php?c=reader&a=delete&id=<?php echo $reader['id']?>" onclick="javascript: return confirm('你确定要删除吗?')">删除</a></td>
		</tr>
		<?php endforeach;?>
	</table>
	<p><?php echo $pageinfo;?></p>
</div>
